/*
using namespace std;

class LargeNumber {
public:
	LargeNumber( int data ) : _data( data ){};

	int GetNumber()
	{
		//cout << "non-const function called..." << endl;
		return _data;
	}

	const int GetNumber()
	{
		//cout << "const function called..." << endl;
		return _data;
	}

private:
	LargeNumber();
	int _data;
};

int main()
{
	LargeNumber l(10);
	//cout << l.GetNumber() << endl;

	const LargeNumber n(30);
	//cout << n.GetNumber() << endl;

	return 0;
}

class String {
public:
	String( char* data ) _data(data){};

	char& operator[] ( int position )
	{
		return _data[position];
	}

	const char& operator[]( int position )
	{
		return _data[position];
	}

private:
	char * _data;
};

int main()
{
	String s = "Hello ";

	cout << s[0];

	const String cs = "World";

	cout << cs[0];

	return 0;
}
*/
